﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace Ensynch.ILM2.Workflow.Activities
{
    public partial class UpdateAttributeActivity
    {
        #region Designer generated code

        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
        private void InitializeComponent()
        {
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.Activities.CodeCondition codecondition1 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.Activities.CodeCondition codecondition2 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.Activities.CodeCondition codecondition3 = new System.Workflow.Activities.CodeCondition();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind8 = new System.Workflow.ComponentModel.ActivityBind();
            this.UpdateDestination = new Microsoft.ResourceManagement.Workflow.Activities.UpdateResourceActivity();
            this.ProcessExistingResolvedValue = new System.Workflow.Activities.CodeActivity();
            this.ResolveExistingValue = new Microsoft.ResourceManagement.Workflow.Activities.ResolveGrammarActivity();
            this.ProcessExistingResourceValue = new System.Workflow.Activities.CodeActivity();
            this.ReadDestinationResource = new Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity();
            this.IfResourceHasChanged = new System.Workflow.Activities.IfElseBranchActivity();
            this.IfDestinationIsNotAResource = new System.Workflow.Activities.IfElseBranchActivity();
            this.IfDestinationIsAResource = new System.Workflow.Activities.IfElseBranchActivity();
            this.UpdateDestination_IfResourceHasChanged = new System.Workflow.Activities.IfElseActivity();
            this.ProcessOutput = new System.Workflow.Activities.CodeActivity();
            this.ResolveExistingValue_IfElse = new System.Workflow.Activities.IfElseActivity();
            this.ResolveNewValue = new Microsoft.ResourceManagement.Workflow.Activities.ResolveGrammarActivity();
            this.ProcessInput = new System.Workflow.Activities.CodeActivity();
            this.GetCurrentRequest = new Microsoft.ResourceManagement.Workflow.Activities.CurrentRequestActivity();
            // 
            // UpdateDestination
            // 
            this.UpdateDestination.ActorId = new System.Guid("00000000-0000-0000-0000-000000000000");
            this.UpdateDestination.Name = "UpdateDestination";
            activitybind1.Name = "UpdateAttributeActivity";
            activitybind1.Path = "DestinationId";
            this.UpdateDestination.UpdateParameters = null;
            this.UpdateDestination.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.UpdateResourceActivity.ResourceIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            // 
            // ProcessExistingResolvedValue
            // 
            this.ProcessExistingResolvedValue.Name = "ProcessExistingResolvedValue";
            this.ProcessExistingResolvedValue.ExecuteCode += new System.EventHandler(this._processExistingResolvedValue);
            // 
            // ResolveExistingValue
            // 
            activitybind2.Name = "UpdateAttributeActivity";
            activitybind2.Path = "DestinationString";
            this.ResolveExistingValue.Name = "ResolveExistingValue";
            activitybind3.Name = "UpdateAttributeActivity";
            activitybind3.Path = "ExistingResolvedExpression";
            this.ResolveExistingValue.WorkflowDictionaryKey = null;
            this.ResolveExistingValue.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ResolveGrammarActivity.GrammarExpressionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            this.ResolveExistingValue.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ResolveGrammarActivity.ResolvedExpressionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            // 
            // ProcessExistingResourceValue
            // 
            this.ProcessExistingResourceValue.Name = "ProcessExistingResourceValue";
            this.ProcessExistingResourceValue.ExecuteCode += new System.EventHandler(this._processExistingResourceValue);
            // 
            // ReadDestinationResource
            // 
            this.ReadDestinationResource.ActorId = new System.Guid("00000000-0000-0000-0000-000000000000");
            this.ReadDestinationResource.Name = "ReadDestinationResource";
            activitybind4.Name = "UpdateAttributeActivity";
            activitybind4.Path = "DestinationResource";
            activitybind5.Name = "UpdateAttributeActivity";
            activitybind5.Path = "DestinationId";
            this.ReadDestinationResource.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity.ResourceProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            this.ReadDestinationResource.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity.ResourceIdProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            // 
            // IfResourceHasChanged
            // 
            this.IfResourceHasChanged.Activities.Add(this.UpdateDestination);
            codecondition1.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this._resourceHasChanged);
            this.IfResourceHasChanged.Condition = codecondition1;
            this.IfResourceHasChanged.Name = "IfResourceHasChanged";
            // 
            // IfDestinationIsNotAResource
            // 
            this.IfDestinationIsNotAResource.Activities.Add(this.ResolveExistingValue);
            this.IfDestinationIsNotAResource.Activities.Add(this.ProcessExistingResolvedValue);
            codecondition2.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this._destinationIsNotAResource);
            this.IfDestinationIsNotAResource.Condition = codecondition2;
            this.IfDestinationIsNotAResource.Name = "IfDestinationIsNotAResource";
            // 
            // IfDestinationIsAResource
            // 
            this.IfDestinationIsAResource.Activities.Add(this.ReadDestinationResource);
            this.IfDestinationIsAResource.Activities.Add(this.ProcessExistingResourceValue);
            codecondition3.Condition += new System.EventHandler<System.Workflow.Activities.ConditionalEventArgs>(this._destinationIsAResource);
            this.IfDestinationIsAResource.Condition = codecondition3;
            this.IfDestinationIsAResource.Name = "IfDestinationIsAResource";
            // 
            // UpdateDestination_IfResourceHasChanged
            // 
            this.UpdateDestination_IfResourceHasChanged.Activities.Add(this.IfResourceHasChanged);
            this.UpdateDestination_IfResourceHasChanged.Name = "UpdateDestination_IfResourceHasChanged";
            // 
            // ProcessOutput
            // 
            this.ProcessOutput.Name = "ProcessOutput";
            this.ProcessOutput.ExecuteCode += new System.EventHandler(this._processOutput);
            // 
            // ResolveExistingValue_IfElse
            // 
            this.ResolveExistingValue_IfElse.Activities.Add(this.IfDestinationIsAResource);
            this.ResolveExistingValue_IfElse.Activities.Add(this.IfDestinationIsNotAResource);
            this.ResolveExistingValue_IfElse.Name = "ResolveExistingValue_IfElse";
            // 
            // ResolveNewValue
            // 
            activitybind6.Name = "UpdateAttributeActivity";
            activitybind6.Path = "DestinationValue";
            this.ResolveNewValue.Name = "ResolveNewValue";
            activitybind7.Name = "UpdateAttributeActivity";
            activitybind7.Path = "NewResolvedExpression";
            this.ResolveNewValue.WorkflowDictionaryKey = null;
            this.ResolveNewValue.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ResolveGrammarActivity.GrammarExpressionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            this.ResolveNewValue.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.ResolveGrammarActivity.ResolvedExpressionProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
            // 
            // ProcessInput
            // 
            this.ProcessInput.Name = "ProcessInput";
            this.ProcessInput.ExecuteCode += new System.EventHandler(this._processInput);
            // 
            // GetCurrentRequest
            // 
            activitybind8.Name = "UpdateAttributeActivity";
            activitybind8.Path = "CurrentRequest";
            this.GetCurrentRequest.Name = "GetCurrentRequest";
            this.GetCurrentRequest.SetBinding(Microsoft.ResourceManagement.Workflow.Activities.CurrentRequestActivity.CurrentRequestProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind8)));
            // 
            // UpdateAttributeActivity
            // 
            this.Activities.Add(this.GetCurrentRequest);
            this.Activities.Add(this.ProcessInput);
            this.Activities.Add(this.ResolveNewValue);
            this.Activities.Add(this.ResolveExistingValue_IfElse);
            this.Activities.Add(this.ProcessOutput);
            this.Activities.Add(this.UpdateDestination_IfResourceHasChanged);
            this.Name = "UpdateAttributeActivity";
            this.CanModifyActivities = false;

        }

        #endregion

        private Microsoft.ResourceManagement.Workflow.Activities.UpdateResourceActivity UpdateDestination;
        private IfElseBranchActivity IfResourceHasChanged;
        private IfElseActivity UpdateDestination_IfResourceHasChanged;
        private CodeActivity ProcessOutput;
        private CodeActivity ProcessExistingResolvedValue;
        private Microsoft.ResourceManagement.Workflow.Activities.ReadResourceActivity ReadDestinationResource;
        private Microsoft.ResourceManagement.Workflow.Activities.ResolveGrammarActivity ResolveExistingValue;
        private CodeActivity ProcessExistingResourceValue;
        private IfElseBranchActivity IfDestinationIsNotAResource;
        private IfElseBranchActivity IfDestinationIsAResource;
        private IfElseActivity ResolveExistingValue_IfElse;
        private Microsoft.ResourceManagement.Workflow.Activities.ResolveGrammarActivity ResolveNewValue;
        private CodeActivity ProcessInput;
        private Microsoft.ResourceManagement.Workflow.Activities.CurrentRequestActivity GetCurrentRequest;


























    }
}
